$OpenBSD: patch-chrome_browser_task_manager_sampling_task_group_h,v 1.3 2017/04/28 14:21:00 robert Exp $
--- chrome/browser/task_manager/sampling/task_group.h.orig.port	Wed Apr 19 21:06:30 2017
+++ chrome/browser/task_manager/sampling/task_group.h	Thu Apr 27 19:56:00 2017
@@ -96,7 +96,7 @@ class TaskGroup {
   int nacl_debug_stub_port() const { return nacl_debug_stub_port_; }
 #endif  // !defined(DISABLE_NACL)
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   int open_fd_count() const { return open_fd_count_; }
 #endif  // defined(OS_LINUX)
 
@@ -124,7 +124,7 @@ class TaskGroup {
 
   void OnIdleWakeupsRefreshDone(int idle_wakeups_per_second);
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   void OnOpenFdCountRefreshDone(int open_fd_count);
 #endif  // defined(OS_LINUX)
 
@@ -174,7 +174,7 @@ class TaskGroup {
   int nacl_debug_stub_port_;
 #endif  // !defined(DISABLE_NACL)
   int idle_wakeups_per_second_;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // The number of file descriptors currently open by the process.
   int open_fd_count_;
 #endif  // defined(OS_LINUX)
